<?php
/**
 * AccountFixture
 *
 */
class AccountFixture extends CakeTestFixture {

/**
 * Fields
 *
 * @var array
 */
	public $fields = array(
		'id' => array('type' => 'integer', 'null' => false, 'default' => null, 'key' => 'primary'),
		'recipe_id' => array('type' => 'integer', 'null' => false, 'default' => null, 'key' => 'index'),
		'situation_id' => array('type' => 'integer', 'null' => false, 'default' => null, 'key' => 'index'),
		'month' => array('type' => 'integer', 'null' => false, 'default' => null),
		'year' => array('type' => 'integer', 'null' => false, 'default' => null),
		'balance' => array('type' => 'float', 'null' => false, 'default' => null, 'length' => '10,2'),
		'cost' => array('type' => 'float', 'null' => false, 'default' => null, 'length' => '10,2'),
		'income' => array('type' => 'float', 'null' => false, 'default' => null, 'length' => '10,2'),
		'indexes' => array(
			'PRIMARY' => array('column' => 'id', 'unique' => 1),
			'fk_accounts_recipes1_idx' => array('column' => 'recipe_id', 'unique' => 0),
			'fk_accounts_situations1_idx' => array('column' => 'situation_id', 'unique' => 0)
		),
		'tableParameters' => array('charset' => 'utf8', 'collate' => 'utf8_general_ci', 'engine' => 'InnoDB')
	);

/**
 * Records
 *
 * @var array
 */
	public $records = array(
		array(
			'id' => 1,
			'recipe_id' => 1,
			'situation_id' => 1,
			'month' => 1,
			'year' => 1,
			'balance' => 1,
			'cost' => 1,
			'income' => 1
		),
	);

}
